<?php
global $active;
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>MM Font</title>
    <link href="<?php echo Common::httpUri('js/bootstrap/css/bootstrap.min.css') ?>" rel="stylesheet">
    <script type="text/javascript" src="<?php echo Common::httpUri('js/jquery-1.11.1.min.js') ?>"></script>
    <!--[if lt IE 9]>
    <script type="text/javascript"  src="<?php echo Common::httpUri('js/html5shiv.js') ?>"></script>
    <script type="text/javascript" src="<?php echo Common::httpUri('js/respond.min.js') ?>"></script>
    <![endif]-->
</head>
<body class="h100">
<!--head-->
<div class="navbar navbar-default" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">MM Font</a>
        </div>
        <div class="navbar-collapse collapse">
            <!--nav bar-->
            <?php Common::view('top_nav.phtml', false); ?>
            <!--user bar-->
            <ul class="nav navbar-nav navbar-right">
            </ul>
        </div>
    </div>
</div>

<!--main-->
<div class="container <?php echo $active; ?>">
    <?php
    if ($content){
        Common::view($content, false);
    }
    ?>
</div>
<div class="foot"></div>
<script src="<?php echo Common::httpUri('js/bootstrap/js/bootstrap.min.js') ?>"></script>
</body>
</html>
